package java_jc_cs;

import java.time.LocalDate;

public class _104{
    void DayOfYear(int Y,int M,int D){
        LocalDate date = LocalDate.of(Y, M, D);
        System.out.println(date.getDayOfYear());
    }
}